]> dgit.raspbian.org Git - gnome-shell.git/commit
hwtest.js: Fix median computation
authorOwen W. Taylor <otaylor@fishsoup.net>
Sun, 10 Aug 2014 07:23:48 +0000 (09:23 +0200)
committerOwen W. Taylor <otaylor@fishsoup.net>
Sun, 10 Aug 2014 07:25:10 +0000 (09:25 +0200)
commit28cc0da151ede6f275d9e67810dc6a45e5498c33
treecc97638bbe1834afff20ab395069f4abe145d189
parentf1957dccb7f3c91cd4dcc5547505465ad1b39dde
hwtest.js: Fix median computation

By default Array.prototype.sort() sorts all values by converting
them to strings, even numbers!
js/perf/hwtest.js